<!DOCTYPE html>
<html lang="en" class="no-js">
{% load staticfiles %}
<head>

    <meta charset="utf-8">
    <title>Fullscreen Login</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- CSS -->
    <link rel='stylesheet' href='http://fonts.googleapis.com/css?family=PT+Sans:400,700'>
    <link rel="stylesheet" href="{% static 'css/reset.css' %}">
    <link rel="stylesheet" href="{% static 'css/supersized.css' %}">
    <link rel="stylesheet" href="{% static 'css/style.css' %}">

</head>

<body>

<div class="page-container">
    <h1>Login</h1>
    <form action="{% url 'login' %}" method="post">
        {% csrf_token %}
        <input type="text" name="username" class="username" placeholder="Username">
        <div class="error_login">
            {% if loin_form.errors.username %}
                {{ loin_form.errors.username }}
            {% endif %}
        </div>
        <input type="password" name="password" class="password" placeholder="Password">
        <div class="error_login">
            {% if loin_form.errors.password %}
                {{ loin_form.errors.password }}
            {% endif %}
        </div>
        <div class="error_login">
            <span>{{ msg }}</span>
        </div>
        <button type="submit">Sign me in</button>
        <div class="error"><span> + </span></div>
    </form>
    <div class="connect">
        <p>Or connect with:</p>
        <p>
            <a class="facebook" href=""></a>
            <a class="twitter" href=""></a>
        </p>
    </div>
</div>
<div align="center">Collect from <a href="javascript:(0);" target="_blank" title="欢迎登陆">欢迎登陆</a></div>

<!-- Javascript -->
<script src="{% static 'js/jquery-1.8.2.min.js' %}"></script>
<script src="{% static 'js/supersized.3.2.7.min.js' %}"></script>
<script src="{% static 'js/supersized-init.js' %}"></script>
<script src="{% static 'js/scripts.js' %}"></script>

</body>

</html>

